#ifndef __CK_ENUM_FIELD_H__
#define __CK_ENUM_FIELD_H__

#include "ckobject.h"
#include "zCore.h"
#include <vector>

namespace ck
{
	namespace data
	{
		class Field;

		class ZCORE_API EnumField : public ckObject
		{
		public:
			EnumField();
			virtual ~EnumField();
		public:
			void		Add(Field* pCase);
			void		Reset();
			Field*		Next();
		private:
			void		Cleanup();

		private:
			std::vector<Field*>	m_fields;
			std::vector<Field*>::iterator	m_iter;
		};

	}
}

#endif //__CK_ENUM_FIELD_H__
